|
DX11 BUILD PERSPECTIVE RHMATRIX
Builds a right-handed perspective projection matrix based on a field-of-view angle and an aspect ratio.
Return Dword = DX11 BUILD PERSPECTIVE RHMATRIX(fov, aspectRatio, nearZ, [farZ], [resultMatrix])
fov Float Field-of-view angle in degrees.
aspectRatio Float The aspect ratio of the view space to use the projection matrix with (ie. screen width / screen height).
nearZ Float The distance to the near clipping plane.
[Optional] farZ Float The distance to the far clipping plane.
[Optional] resultMatrix Dword The matrix to write the created projection matrix to. Can be omitted, in which case a temporary matrix holding the generated projection matrix will be returned.
The resultMatrix, if one was provided, or a newly created temporary matrix holding the resulting matrix otherwise.
MATH Functions Menu
DX11 Function Categories
|